home *** CD-ROM | disk | FTP | other *** search
/ NT Sources / Infomagic - NT Source Volume 1 (Disc 1 of 2).iso / network / pcdctrla.exe / PCDCTRL.EXE / DEFAULTS.INC < prev    next >
Text File  |  1998-01-23  |  3KB  |  85 lines

  1. '' Default values for the PC-Duo Windows SETUP program.
  2. '' Change these to suit your specific needs.
  3.  
  4. '' DEST$ = Default destination directory, typically C:\PCDUO
  5. '' Change this to the file server location for pre-installed kits
  6. '' Note: This must be in UPPER CASE
  7.  
  8. DEST$ = MAKEPATH(MID$(GetWindowsDir, 1, 3), DIR$)
  9.  
  10. '' COPY% = whether to actually copy the files (1 = yes, 0 = no);
  11. '' Use COPY% = 0 to reference an existing network installation
  12.  
  13. COPY% = 1
  14.  
  15. '' Set the default Client name from the ComputerName= line in the SYSTEM.INI,
  16. '' [Network] section, if it is present. If not, use "*" for DOS Machine Name
  17.  
  18. MNAME$ = GetIniKeyString (GetWindowsDir + "SYSTEM.INI", "Network", "ComputerName")
  19.  
  20. IF MNAME$ = "" THEN
  21.     MNAME$ = "*"
  22. END IF
  23.  
  24. '' OPTION$ = Default installation options, in the order:
  25. '' Client, Control, Windows, DOS, NetBIOS, IPX, TCP/IP, Remote, Bridge
  26.  
  27. OPTIONS$ = "111010000"
  28.  
  29. '' Check for NT on Alpha and disable Client support
  30.  
  31. IF ((WindowsVer% = WNT) AND (GetEnvVariableValue ("PROCESSOR_ARCHITECTURE") <> "x86")) THEN
  32.     DISABLE$ = MID$ (DISABLE$, 1, CLIENT - 1) + "1" + MID$ (DISABLE$, CLIENT)
  33. ENDIF
  34.  
  35. '' SETUPCOMMS% Controls whether the modem configuration dialog is displayed
  36. '' if either Remote or Bridge options are selected. Set this to 0 and then
  37. '' specify the COM port, Modem and Baud rate to force SETUP to use particular
  38. '' values.
  39.  
  40. SETUPCOMMS% = 1
  41.  
  42. '' DEFCOMPORT$ Specifies the default COM port for the Remote and/or Bridge.
  43. '' It should be COMx, where x = 1..4.
  44.  
  45. DEFCOMPORT$ = "COM1"
  46.  
  47. '' DEFMODEM$ Specifies the default Modem for the Control+Remote or Bridge.
  48. '' The name must match that in the CONTROL.MDM file.
  49.  
  50. DEFMODEM$ = "Hayes-Compatible"
  51.  
  52. '' DEFBAUDRATE$ Sets the default Baud rate for the PC Serial Port. The value 
  53. '' should be 1200, 2400, 4800, 9600, 14400, 19200, 38400, 57600, or 115200
  54.  
  55. DEFBAUDRATE$ = "38400"
  56.  
  57. '' BRICONGRP$ Controls where SETUP creates icon(s) for a PC-Duo Windows
  58. '' Bridge. The default value is "", which will create one or more icons in
  59. '' the normal PC-Duo group. If you need the Windows Standalone Bridge to be
  60. '' started automatically when Windows starts, set the value to specify the
  61. '' name for the Windows Startup Group. The Group must exist. For example
  62. '' BRICONGRP$ = "Startup" will create an icon in the Startup Group.
  63.  
  64. BRICONGRP$ = ""
  65.  
  66. '' BROPTIONS$ allows extra Bridge command line options to be specified here.
  67. '' The default value is "".
  68.  
  69. BROPTIONS$ = ""
  70.  
  71. '' CLICONGRP$ Controls whether SETUP creates an icon for the PC-Duo Windows
  72. '' Client. The default value is "", which is suitable for most installations.
  73. '' If you need a Client icon to be created, set the value to specify which
  74. '' Windows Group SETUP should create the Client icon in. The Group must exist.
  75. '' For example CLICONGRP$ = "PC-Duo" will create an icon in the PC-Duo Group.
  76.  
  77. CLICONGRP$ = ""
  78.  
  79. '' CLOPTIONS$ allows extra Client command line options to be specified here.
  80. '' The default value is "". This variable is useful when pre-configuring a
  81. '' standalone IPX Client, when "/A" can be added to the command line, or when
  82. '' specifying a security option (e.g. "/C*").
  83.  
  84. CLOPTIONS$ = ""
  85.